package ils.services;

import ils.domain.ugc.model.Review;
import ils.web.model.WReview;

import java.util.List;

public interface UgcService
{
    public int REVIEWS_BOOK_PAGE_SIZE = 10;
    public Review createReview(Review review);
    public List<WReview> getReviewsForBook(int bookId, int firstResult) throws Exception;
    public List<WReview> getReviewsOfUser(int userId, int firstResult) throws Exception;
    public WReview getReviewUserBook(int userId, int bookId) throws Exception;
}
